package com.qf.fengmimall.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author 刘欣
 * @createTime 2023/2/21 0:06
 * @description
 */
@Component
@Slf4j
public class MyTask {

    @Scheduled(cron = "* * * * * ?")
    public void sayHello(){
        //log.debug(System.currentTimeMillis()+":hello");
    }
}
